package com.atguigu.srb.base.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableFeignClients(basePackages = "com.atguigu.srb")
public class OpenFiegnConfig {
    //设置日志输出的级别
    @Bean
    public Logger.Level level(){
        return Logger.Level.FULL;
    }
}
